home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1997 January / Macworld (1997-01).dmg / Shareware World / Utilities / Data & Time Management / MacCalendar / About the Build Script next >
Text File  |  1994-10-20  |  2KB  |  53 lines

  1. Notes on the AppleScript build environment:
  2.  
  3. 1. I use the following folder hierarchy:
  4.     Sample Name mm/dd ƒ        -- mm/dd is the sample edit date.
  5.         Src                    -- This folder contains all C (etc) source code.
  6.         Obj                    -- This folder contains MPW objects. The contents
  7.                                 may be dragged to the trash for a clean rebuild.
  8.         Also: projects, MakeFiles, icon resources, and project residude are
  9.         stored in the top-level folder.
  10.  
  11. 2. Project naming conventions:
  12.     Project.π                -- (opt/p) Think C 68000 project.
  13.     Project.µ                -- (opt/m) MetroWerks Code Warrior 68000 project.
  14.     Project.Δ                -- (opt/j) MetroWerks Power PC native project
  15.     Makefile                -- MPW Makefile.
  16.  
  17. 3. Building MetroWerks resources:
  18.     Instead of using ToolServer, I have a target object named "MetroWerks" in
  19.     the MPW Makefile. The AppleScript builds MetroWerks resources by executing
  20.         make -f Makefile MetroWerks
  21.     Also, a normal MPW build will update the MetroWerks resources.
  22.  
  23. 4. Setup
  24.     The script is for rebuilding a working sample. It does not run smoothly
  25.     if you have code bugs or are doing major development. You must setup the
  26.     Project type information under both Think and MetroWerks before using
  27.     the script. You should also make sure that the sample builds correctly
  28.     under MPW.
  29.     
  30. 5. MetroWerks "fat" applications:
  31.     Currently, I am not building fat applications directly. To build a fat
  32.     MetroWerks project, the 68000 project merges resources into the PPC
  33.     project's .rsrc file:
  34.         First, using MetroWerks PPC: build a native (non-fat) application. 
  35.         Then, under MetroWerks 68000: use the preferences dialog to set
  36.         the project type to "Code Resources," select the merge checkbox,
  37.         and set the destination file to "Project.Δ.rsrc"
  38.     Do the above once by hand, then you should be able to build fat
  39.     applications by updating both projects.
  40.  
  41. 6. Limitatios and bugs
  42.     The script often runs out of memory on a 12 Mb PowerBook Duo.
  43.     The script is very error-unfriendly.
  44.     The script sometimes hangs (beachball spins). I always run it with
  45.         the event logging window visible. Doing two MPW builds in a row
  46.         seems to cause the most hangs.
  47.  
  48. 7. Please send bug fixes and improvements to
  49.     Martin Minow
  50.     Developer Technical Support
  51.     AppleLink: MINOW
  52.     Internet: minow@apple.com
  53.